@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&display=swap');

/*html*/
* {
	margin: 0;
	padding: 0;
}
html{
	height: 100%;
}
@media (min-width: 401px){
body {
	width: 100%;
	color: #333;
	background: url(../img/fon.jpg) no-repeat center center fixed;
	font-size: 1em;
	font-family: 'Alegreya', sans-serif;
	line-height: 135%;
}
}
@media (max-width: 400px){
	body {
		width: 100%;
		color: #333;
		background-image: url(../img/fon.jpg);
		font-size: 0.9em;
		font-family:Alegreya, sans-serif;
		line-height: 135%;
	}
	}


/*Id, Class*/
#logo {
	font-size: 2em;
	font-family: Alegreya, sans-serif;
}
#contact{
	float: right;
}
.obr{
	float: right;
}
@media (min-width: 700px){
	.obr{
		margin-right: -4%;
	}
	#contact{
		margin-right: 2%;
	}
}
@media (max-width: 699px){
	.obr{
		margin-right: -14%;
	}
	#contact{
		margin-right: 8%;
	}
}
#histori{
	text-align: center;
	font-size: 1em;
	font-family: Alegreya, sans-serif;
}
.clear{clear:  both;}
#menu{
	color: #000000;
	font-family: Algerya, sans-serif;
	font-size: 1.7em;
}
#menu hr{
	width: 500px;
	max-width: 100%;
	margin-top: 10px;
	border-top: 3px solid rgba(192, 192, 192, 0.836);
}

#menuH a{
	padding: 5px;
	border-radius: 5px;
	margin-right: 5px;
	color: #000000;
	font-size: 1.3em;
	font-weight: bold;
}
#menuH a:hover{
	color: #444343
}

#wrapper{
	float: left;
	width: 100%;
	margin-top: 20px;
}
#wrapper #articles{
	float: left;
	width: 80%;
	margin-left: 10%;
}
@media (min-width: 721px){
	#wrapper #articles article{
		float: left;
		width: 31.3%;
		border: 1px solid silver;
		box-sizing: border-box;
		border-radius: 21px;
		background-color: #fafafa52;
		margin-right: 2%;
		min-height: 400px;
	}
	}
@media (min-width: 420px) and (max-width: 720px){
#wrapper #articles article{
	float: left;
	width: 96%;
	border: 1px solid silver;
	box-sizing: border-box;
	border-radius: 21px;
	background-color: #fafafa52;
	margin-right: 2%;
	min-height: 400px;
}
}
@media (max-width: 419px){
	#wrapper #articles article{
		float: left;
		width: 96%;
		border: 1px solid silver;
		box-sizing: border-box;
		border-radius: 21px;
		background-color: #fafafa52;
		margin-right: 2%;
		margin-top: 10px;
		min-height: 200px;
		margin-bottom: 10px;
	}
	}
#wrapper #articles article h1{
	width: 90%;
	margin-left: 5%;
	font-weight: normal;
	font-size: 1.7em;
}
#wrapper #articles article p{
	width: 80%;
	margin-left: 10%;
}
@media (min-width: 700px){
#wrapper #articles article img{
	height: 218;
	width: 683px;
	
}
}
@media (max-width: 699px){
	#wrapper #articles article img{
		height: 218;
		width: 683px;
		
	}
	}
@media(min-width: 600px){
#wrapper #articles article a {
	padding: 5px 5px;
	background-color: rgba(84, 165, 139, 0.712);
	margin-left: 5%;
	border-radius: 31px;
	color:#5d5e5e;
	float:left;
	margin-top: 10px;
}
}
@media(max-width: 599px){
	#wrapper #articles article a {
		padding: 5px 5px;
		background-color: rgba(84, 165, 139, 0.712);
		margin-left: 5%;
		border-radius: 31px;
		color:#5d5e5e;
		float:left;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	}
#wrapper #articles article a:hover{
	background-color: #5a8568;
	color:#fff;
}
#block1{
	width: 100%;
	padding: 2% 0;
	border-bottom: 2px solid silver;
	border-top: 2px solid silver;
	margin: 20px 0;
	float:left;
	background: url(../img/bookhistori.jpg) center;
	height: 300px;
}
#block2{
	padding: 2%;
	text-align: center;
	color: #000000;
	background-color: #ffffff91;
	border: 1px solid silver;
	border-radius: 21px;
	box-sizing: border-box;
	height: 250px;
	width: 500px;
	max-width: 97%;
}
#block1 #block2 h2{font-weight: 100;}
#block1 #block2 p{font-weight: 10;}
#block1 #block2 a {
	padding: 5px 5px;
	background-color: rgba(84, 165, 139, 0.712);
	margin-left: 5%;
	border-radius: 31px;
	color:#5d5e5e;
	float:left;
	margin-top: 10px;
	z-index: 2;
}
#block1 #block2 a:active {
	background-color: #5a8568;
	color:#fff;
}
#con{
	float: right;
}
#home{
	border-radius: 0px;
	float:left;
}
@media (min-width: 600px){
.back-to-top {
    background: #a5a5a500;
    border-radius: 50%;
    position: fixed;
    bottom: -50px;
    padding: 10px 12px;
    right: 50px;
    cursor: pointer;
    transition: 0.3s all;
}
}
@media (max-width: 599px){
	.back-to-top {
		background: #666666;
		border-radius: 50% 50% 20% 20%;
		position: fixed;
		bottom: -50px;
		padding: 9px 10px;
		right: 10px;
		cursor: pointer;
		transition: 0.3s all;
	
	}
	.back-to-top:active{
		background: #444343;
	}
}
.back-to-top.active {
    bottom: 50px;
    transition: 0.3s all;
}
.kuran a{
	padding: 5px 5px;
	background-color: rgba(84, 165, 139, 0.712);
	margin-left: 5%;
	border-radius: 31px;
	color:#5d5e5e;
	float:left;
	margin-top: 10px;
}
.kuran a:hover{
	background-color: #5a8568;
	color:#fff;
}
#wrapper #articles #right article{
	text-align: center;
	width: 96%;
	border: 1px solid silver;
	box-sizing: border-box;
	border-radius: 21px;
	background-color: #fafafa52;
	margin-right: 2%;
	margin-top: 10px;
	min-height: 200px;
	margin-bottom: 10px;
}
.swiper{
	width: 1000px;
	height: 100%;
  }
  .swiper-slide{
	text-align: center;
	font-size: 28px;
	background-color: rgba(240, 248, 255, 0);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
  }
  .swiper-slide img{
	width: 48%;
	object-fit: cover;
  }
  .swiper-button-next, .swiper-rtl .swiper-button-prev{
	right: 140px !important; 
	left: auto;
  }
  .swiper-button-prev, .swiper-rtl .swiper-button-next{
	left: 140px !important; 
	right: auto;
  }
  .button{
	padding: 5px 5px;
	background-color: rgba(84, 165, 139, 0.712);
	margin-left: 5%;
	border-radius: 31px;
	color:#5d5e5e;
	float:left;
	margin-top: 10px;
  }
  .button:hover{
	background-color: #5a8568;
	color:#fff;
  }
.rg{
	float: right;
    color: #000;
}
.author{
	float: right;
	color:#000;
}
.text{
	background-color: #f2f2f2a1;
	border-radius: 21px;
}
#wrapper #articles .text p, h1{
	margin-left: 10px;
	margin-right: 10px;
}
@media(min-width: 600px){
	#block1 #block2 #read{
		/*position: absolute;*/
		text-align: center;
		margin-left: 100px;
	}
	/*#block1 #block2 #read::before{
		content: '';
		display: inline-block;
		vertical-align: middle;
	}*/
	/*#block1 #block2 #read #button{
		display: inline-block;
		vertical-align: middle;
	}*/
}
@media(max-width: 599px){
	#block1 #block2 #read{
		position: absolute;
		text-align: center;
		font-size: 12px;
		margin-left: 91px;
	}
	#block1 #block2 #read::before{
		content: '';
		display: inline-block;
		vertical-align: middle;
	}
	#block1 #block2 #read #button{
		display: inline-block;
		vertical-align: middle;
	}
}
.text .d p{
	text-align: center;
}
.istoriya-ai{
	background: #797979;
	border-radius: 21px;
	padding: 5%;
}
@media(min-width: 701px){
	.istoriya-ai .seperator-cover{
		height: 35%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left{
		width: 70%;
		float: left;
	}
	.istoriya-ai .seperator-cover .seperator-cover-right{
		width: 30%;
		float: right;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left h4{
		float:left;
		margin-top: 11%;
		margin-left: -92.5%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left h1{
		float: left;
		margin-top: 7%
	}
	.istoriya-ai .seperator-cover .seperator-cover-right img{
		margin-top: -10%;
		filter: drop-shadow(0 0 20px yellow);
		transition: 0.3s all;
	}
	.istoriya-ai .seperator-cover .seperator-cover-right img:hover{
		transform: scale(1.1);
		filter: drop-shadow(0 0 60px yellow);
	}
	.istoriya-ai .seperator-cover .seperator-cover-left .btn{
		padding: 2%;
		width: 10%;
		height: 8%;
		background: #00000000;
		transition: 0.3s all;
		border-radius: 21px;
		border: 1px solid silver;
		color: white;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left .btn:hover{
		transform: scale(1.1);
		box-shadow: 0px 0px 50px yellow;
	}
}
@media(max-width: 698px){
	.istoriya-ai .seperator-cover{
		height: 95%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left{
		width: 100%;
		margin-bottom: 2%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-right{
		width: 100%;
		border-top: 1px solid black;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left h4{
		text-align: center;
		margin-top: 11%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left h1{
		text-align: center;
		margin-top: 7%
	}
	.istoriya-ai .seperator-cover .seperator-cover-right img{
		margin-top: 2%;
		filter: drop-shadow(0 0 20px yellow);
		transition: 0.3s all;
	}
	.istoriya-ai .seperator-cover .seperator-cover-right img:active{
		transform: scale(1.1);
		filter: drop-shadow(0 0 60px yellow);
	}
	.istoriya-ai .seperator-cover .seperator-cover-left .btn{
		padding: 2%;
		width: 10%;
		height: 8%;
		background: #00000000;
		transition: 0.3s all;
		border-radius: 21px;
		border: 1px solid silver;
		color: white;
		margin-left: 35%;
	}
	.istoriya-ai .seperator-cover .seperator-cover-left .btn:active{
		transform: scale(1.1);
		box-shadow: 0px 0px 50px yellow;
	}
}


/*Animation*/
@keyframes spin{
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}


/*scrolbar*/
::-webkit-scrollbar{
	background: url("../img/fon.jpg");
	width: 10px;
}
::-webkit-scrollbar-thumb{
	background-color: #000;
	border-radius: 20px;
}



/*Heshteg*/
article img{
	width: 100%;
	height: 100%;
}
embed{
	border-radius: 21px;
}
h1, h2, h3, h4, h5, h6{color:#000000;}
p{
	font-size: 1em;
	color:#000000;
}
hr{
	display: block;
	border: 0;
	height: 1px;
	border-top: 1px solid #383838;
	padding: 0;
}
label{cursor: pointer;}
a{
	color: #ffffff;
	text-decoration: none;
	transition: all.6s ease;
	-moz-transition: all.6s ease;
	-webkit-transition: all.6s ease;
	-ms-transition: all.6s ease;
	cursor: pointer;
	z-index: 2;
}
a:hover{
	color: #979998;
	text-decoration: none;
	transition: all.6s ease;
	-moz-transition: all.6s ease;
	-webkit-transition: all.6s ease;
	-ms-transition: all.6s ease;
}
a:active{color: #5d5e5e;}


img {
	height: auto;
	max-width: 100%;
	width: auto\9;
	border-radius: 21px;
}
audio{
	padding: 1px;
	border-radius: 50px;
	border: 1px solid silver;
}
section{
	border-radius: 50px;
}
video{
	border-radius: 50px;
	border: 2px solid silver;
}

::selection{background:#333333 ; color: white;}
::-moz-selection{background:#333333 ; color: white;}
::-webkit-selection{background:#333333 ; color: white;}
::-ms-selection{background:#333333 ; color: white;}


header, footer{
	width: 98%;
	float: left;
}
header {
	border-bottom: 2px solid silver;
	padding: 1%;
	background: url("../img/headerBg.jpg") center center fixed;
}
footer {
	background: url("../img/footerBg.png") fixed;
	color: white;
}
@media(min-width: 700px){
footer {
	padding: 1%;
	border-top: 2px solod silver;
	margin-top: 10px;
}
}
@media(max-width: 699px){
	footer {
		padding: 1%;
		border-top: 5px solod silver;
		margin-top: 5px;
	}
}

.text h3, h2, h4, h5, h6{
	text-align: center;
}
.text q{
	text-align: center;
	color:#242424;
	font-style: italic;
}
.text p a {
	color:#01099c;
	cursor: pointer;
}
.text p a:hover{
	color:#000672;
}
.text p a:active{
	color:#1a008b;
}
.text p q{
	text-align: center;
	color:#242424;
	font-style: italic;
	margin-left: 20px;
	margin-right: 20px;
}
.text p q a {
	color:#01099c;
	cursor: pointer;
}
.text p q a:hover{
	color:#000672;
}
.text p q a:active{
	color:#1a008b;
}
.text p q{
	text-align: center;
	color:#242424;
	font-style: italic;
	margin-left: 20px;
	margin-right: 20px;
}
.text q a {
	color:#01099c;
	cursor: pointer;
}
.text q a:hover{
	color:#000672;
}
.text q a:active{
	color:#1a008b;
}
.text p {
	margin-left: 20px;
	margin-right: 20px;
}
.text ul li{
	margin-left: 40px;
}
.text ul li a {
	color:#01099c;
	cursor: pointer;
}
.text ul li a:hover{
	color:#000672;
}
.text ul li a:active{
	color:#1a008b;
}
.text ol{
  counter-reset: alpha-list;
  margin-left: 40px;
}
.text ol li a{
	color:#01099c;
	cursor: pointer;
}
.text ol li a:hover{
	color:#000672;
}
.text ol li a:active{
	color:#1a008b;
}

/*footer*/
#page-wrap:after{
	content: "";
	display: block;
}
footer, #page-wrap:after {height: 20px;}

#page-wrap{
	min-height: 94%;
	margin-bottom: -10px;
}
